package homewoek12月12号.homewoek;

import java.util.ArrayList;
import java.util.List;

public class Class {
    private List<Student>slist=new ArrayList<>();
    private String classID;
    private String classname;
    private String teacher;
    private String assistant;
    private String instructor;

    @Override
    public String toString() {
        return "Class{" +
                "slist=" + slist +
                ", classID='" + classID + '\'' +
                ", classname='" + classname + '\'' +
                ", teacher='" + teacher + '\'' +
                ", assistant='" + assistant + '\'' +
                ", instructor='" + instructor + '\'' +
                '}';
    }

    public Class() {
    }

    public Class(String classID, String classname, String teacher, String assistant, String instructor) {
        this.classID = classID;
        this.classname = classname;
        this.teacher = teacher;
        this.assistant = assistant;
        this.instructor = instructor;
    }

    public Class(List<Student> slist, String classID, String classname, String teacher, String assistant, String instructor) {
        this.slist = slist;
        this.classID = classID;
        this.classname = classname;
        this.teacher = teacher;
        this.assistant = assistant;
        this.instructor = instructor;
    }

    public List<Student> getSlist() {
        return slist;
    }

    public void setSlist(List<Student> slist) {
        this.slist = slist;
    }

    public String getClassID() {
        return classID;
    }

    public void setClassID(String classID) {
        this.classID = classID;
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    public String getAssistant() {
        return assistant;
    }

    public void setAssistant(String assistant) {
        this.assistant = assistant;
    }

    public String getInstructor() {
        return instructor;
    }

    public void setInstructor(String instructor) {
        this.instructor = instructor;
    }
}
